package edu.mis.modules.orderDetail;

import com.jfinal.core.Controller;


public class OrderDetailController extends Controller{
	static OrderDetailService service = new OrderDetailService();
	public void index() {
		render("orderDetail.html");
	}
    public void list() {
    	setAttr("data",service.findAllRecord());
//    	setAttr("data",service.findAll());
    	renderJson();
    }
}
